package com.bos.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class PageController {
    @RequestMapping("/pcmt")
    public String pcmt() {
        return "PCMt";
    }
    @RequestMapping("/tojump")
    public String toJump() {
        return "PCMt";
    }
    @RequestMapping("/")
    public String shouye() {
        return "index1";
    }

    @RequestMapping(value = "/toIndex1")
    public String index() {
        return "index1";
    }

    //点击关于设置的页面的跳转
    @RequestMapping(value = "/toSetting")
    public String toSetting() {

        return "setting";
    }

    //点击关于需求页面的跳转
    @RequestMapping(value = "/toDemand")
    public String todemand() {

        return "demand";
    }

    //点击关于添加字段页面的跳转
    @RequestMapping(value = "/toModule")
    public String toModule() {

        return "jsp/addModule";
    }

    //点击进行扫码登陆的跳转
    @RequestMapping(value = "/finda")
    public String toa() {

        return "a";
    }

    //设置字段页面
    @RequestMapping(value = "/toaddModule")
    public String toaddModule() {
        return "jsp/addModule";
    }

    //进行注册页面的跳转
    @RequestMapping(value = "/regist")
    public String regist() {
        return "register.jsp";
    }

    //跳转到修改密码页面
    @RequestMapping(value = "/updatePassword")
    public String updatePassword() {
        return "jsp/changePassword";
    }
}
